#************************************************************************#
#                                                                        |
#   Makefile for 2500AD t6502	 				 	 |
#									 |
#************************************************************************#

2500AD=J:\2500AD
ASM=$(2500AD)\bin\x6502.exe
LINK=$(2500AD)\bin\link.exe
WKPATH=$(2500AD)\x6502
AFLAGS=-q -d


target: xtutor.hex
	+@echo make complete: xtutor.hex is up to date

xtutor.hex: t6502.obj
	$(LINK) $(WKPATH)$\xtutor.lnk 

t6502.obj: $(WKPATH)$\t6502.asm 
	$(ASM) $(AFLAGS) $(WKPATH)$\t6502.asm
